package com.macro.mall.mapper;

import com.macro.mall.model.MmsMessageHistory;
import com.macro.mall.model.MmsMessageHistoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MmsMessageHistoryMapper {
    long countByExample(MmsMessageHistoryExample example);

    int deleteByExample(MmsMessageHistoryExample example);

    int deleteByPrimaryKey(Long id);

    int insert(MmsMessageHistory record);

    int insertSelective(MmsMessageHistory record);

    List<MmsMessageHistory> selectByExample(MmsMessageHistoryExample example);

    MmsMessageHistory selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") MmsMessageHistory record, @Param("example") MmsMessageHistoryExample example);

    int updateByExample(@Param("record") MmsMessageHistory record, @Param("example") MmsMessageHistoryExample example);

    int updateByPrimaryKeySelective(MmsMessageHistory record);

    int updateByPrimaryKey(MmsMessageHistory record);
}